﻿<%@ Page Title="" Language="C#" MasterPageFile="~/GUI/User/UserChiTiet.master" AutoEventWireup="true" CodeBehind="ChiTietCaSi.aspx.cs" Inherits="ProjectWebNhac.GUI.User.ChiTietCaSi" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<div class="span9 news no-margin homepage">
                        <div class="main-top span9 tracks-page">
                            <div class="span9 no-margin">
                                <h1>Bài Hát</h1>
                                <div class="options-line">
                                    <div class="breadcrumb-container">
                                        <ul class="breadcrumb">
                                            <li><a href="TrangChu.aspx">Trang Chủ</a> <span class="divider">»</span></li>
                                            <li><a href="CaSi.aspx">Ca Sĩ</a> <span class="divider">»</span></li>
                                            <li class="active">Chi Tiết Ca Sĩ</li>
                                        </ul>
                                    </div>
                                    <div class="tabs hidden-phone">
                           <%--             <asp:Button ID="Button1" runat="server" Text="Button" />
                                        <asp:Button ID="Button2" runat="server" Text="Button" />
                                        <asp:Button ID="Button3" runat="server" Text="Button" />
                                        <asp:Button ID="Button4" runat="server" Text="Button" />--%>
                                        <a href="BaiHat.aspx">Bài Hát</a>
                                        <a href="Album.aspx">Album</a>
                                        <a href="CaSi.aspx" class="active">Ca Sĩ</a>
                                        <a href="BXH.aspx">BXH</a>
                                    </div>
                                </div>

                            </div>

                        </div>


</div>
<div class="span9 news no-margin homepage">
    <asp:Repeater ID="reThongTin" runat="server">
    <ItemTemplate>
      <div class="tracks span3">
                            <h1>Ca Sĩ</h1><%--lây 5 Ca Sĩ--%>
                            <hr/>
                            <div class="artwork">

                                <a href="ChiTietCaSi.aspx?MaCaSi=1">
                                    <div class="glow"></div>
                                    <img style="height:100px;width:100px" src="../../HinhAnh/CaSi/<%#Eval("HinhAnh") %>" alt="">
                                </a>
                                &nbsp;</div>
                                <div class="artist-info" style="width:100px;float: right;">
                                    <p>Tên ca sĩ:</p>
                                    <b style="float: right; margin-top: -30px; margin-right: -33px;"><%#Eval("TenCaSi") %></b>
                                </div>
                                <div class="artist-info" style="width:100px;float: right;margin-top: -85px;">
                                    <p>Ngày Sinh</p>
                                    <b style="float: right; margin-top: -30px; margin-right: 11px;"><%#Eval("NgaySinh") %></b>
                                </div>
                                <div class="artist-info" style="width: 100px; float: right;margin-top: -60px;">
                                    <p>Công ty đại diện</p>
<b style="float: right; margin-top: -30px; margin-right: -18px;"><%#Eval("CongTyDaiDien") %></b>
                                </div>
                                <div class="artist-info" style="width: 100px; float: right;margin-top: -35px;">
                                    <p>Quốc Gia</p>
<b style="float: right; margin-top: -30px; margin-right: -13px;"><%#Eval("TenQuocGia") %></b>
                                </div>
                                </div>
                                <div class="tracks span6">
<div class="artist-info" style="float: right; margin-top: 56px; width: 70%;">
                                    <p>Thông tin</p>
<b style="margin-top: -30px; float: left; margin-left: 63px;">
<%#Eval("ThongTinChiTiet") %>
</b>
                                </div>
</div>
    </ItemTemplate>
    </asp:Repeater>
                               
                                </div>

<br />

<div class="tracks span3">
                            <h1>Album của <%if (Session["TenCaSi"]!=null)
                                            {
                                               %> 
                                          <%=Session["TenCaSi"].ToString() %>     </h1>
                                           <% } %>
                            <hr/>
</div>
<div class="tracks span9">
      <div class='new-albums grid' style="width:100%">
                    
          <asp:Repeater ID="reAlbum" runat="server">
          <ItemTemplate>
           <div class='new-album-box'>
                                <div class='inner'>
                                    <figure>

                                        <img style="height:100px;width:100px" src='../../HinhAnh/Album/<%#Eval("HinhAnh") %>' alt='' />
                                    </figure>
                                    <div class='details'>
                                        <h2><a href='ChiTietAlbum.aspx?MaAlbum=<%#Eval("MaAlbum") %>'><%#Eval("TenAlbum") %></a></h2>
                                        <p>
                                            
                                        </p>
                                    </div>
                                    <div class='options'>
                                      <span class='price'> Ngày phát hành: <%#Eval("NgayPhatHanh","{0:dd/MM/yyyy}")%></span>
                                        <span class='price'> Lượt nghe: <%#Eval("LuotNghe") %></span>
                                        <span class='price'> Thể loại : <%#Eval("TenTheLoai") %></span>
                                    </div>
                                </div>
                            </div>
          </ItemTemplate>
          </asp:Repeater>          
                            

                        </div>                   
</div>

<div class="tracks span9">
                            <h1>Bài hát của  <%if (Session["TenCaSi"]!=null)
                                            {
                                               %> 
                                          <%=Session["TenCaSi"].ToString() %>     </h1>
                                           <% } %><%--lây 5 Ca Sĩ--%>
                            <hr/>
</div>
 <div class="wrapper-search" style="border-top:solid 1px">
     <asp:Repeater ID="reBaiHat" runat="server" 
         onitemdatabound="reBaiHat_ItemDataBound" OnItemCommand="reBaiHat_ItemCommand">
     <ItemTemplate>
      <div class='track-line'>
                                <div class='span9 no-margin'>
                                   
                                    <div class="jp-audio custom" id="jp_container_1">
                                        <div class="jp-type-single">
                                            <div class="jp-gui jp-interface">
                                                
                                                <div class='name'>
                                                    <div class="jp-title">
                                                        <ul>
                                                            <li><a href="ChiTietBaiHat.aspx?MaBH=<%#Eval("MaBaiHat") %>"><%#Eval("TenBaiHat") %></a> </li>
                                                            <li>Trình bày : 
                                                                
                                                                    <asp:Repeater ID="reCasi" runat="server">
                                                                <ItemTemplate>
                                                                    <a href="ChiTietCaSi.aspx?MaCS="<%#Eval("MaCaSi") %>><%#Eval("TenCaSi") %></a>  
                                                                </ItemTemplate>
                                                                </asp:Repeater>
                                                             
                                                            
                                                            
                                                            | <a href="#"><%#Eval("TenTheLoai") %></a></li>
                                                            <li>Đăng bởi : <a href="#"><%#Eval("TaiKhoan") %></a> | Ngày đăng: <%#Eval("NgayThem", "{0:dd/MM/yyyy}")%> | Lượt nghe: <%#Eval("LuotNghe") %></li>
                                                        </ul>
                                                    </div>
                                                    
                                                </div>
                                                <div class='right' style="width: 50px;">
                                                    <a href='#' title='Add' class='add'>Add</a>
                                                      <asp:ImageButton ID="imDown" CommandArgument='<%#Eval("LinkBaiHat") %>' CommandName="download" runat="server" ImageUrl="img/down.png" style="margin-top: 7px;width: 16px;"></asp:ImageButton>
                                        
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                               <%-- <div class='span3'>
                                    <a href="#" title='Buy' class='btn btn-main purchase'><i class='shopping-cart'></i> Purchase</a>
                                    <div class='price'>$ 335</div>
                                </div>--%>
                            </div>
     </ItemTemplate>
     </asp:Repeater>
                              
                            
                               <div class="standard-pagination">
                            <ul>
                               <%-- <li class="active"><a href="#" class="btn">1</a></li>
                                <li><a href="#" class="btn">2</a></li>--%>
                                
                                <asp:Literal ID="liPage" runat="server"></asp:Literal>
                            </ul>
                        </div>
 </div>
</asp:Content>
